/*
 * Created by LiuYou on 2020/8/19.
 *
 */

#ifndef CPPFROMMYCTEACHERBOOK_NVIDIAGRAPHICSCARD_HPP
#define CPPFROMMYCTEACHERBOOK_NVIDIAGRAPHICSCARD_HPP


#include "GraphicsCard.hpp"

namespace ly {
    class NvidiaGraphicsCard : public GraphicsCard {
    private:
        int adapterId{100};
    public:
        std::string toString() const override {
            return "NvidiaGraphicsCard{adapterId=" + std::to_string(adapterId) +
                   "}";
        }

        ~NvidiaGraphicsCard() override = default;

        NvidiaGraphicsCard(int lifetime, int speed, int adapterId) : GraphicsCard(lifetime, speed),
                                                                     adapterId(adapterId) {}

        NvidiaGraphicsCard() = default;

    };

}


#endif //CPPFROMMYCTEACHERBOOK_NVIDIAGRAPHICSCARD_HPP
